Quick charging method, mobile terminal, and power adapter

ABSTRACT

Methods and devices are provided for quick charging. In the method, after a mobile terminal recognizes a type of a power adapter, the mobile terminal transmits indication information to the power adapter. The indication information is configured to indicate that the mobile terminal has recognized the type of the power adapter and instruct the power adapter to activate a quick charging process. The power adapter then negotiates with the mobile terminal via the quick charging process to determine charging parameters, and charges a battery of the mobile terminal in a multi-stage constant current mode.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of PCT Patent Application No. PCT/CN2016/070204, entitled “QUICK CHARGING METHOD, MOBILE TERMINAL, AND POWER ADAPTER,” filed on Jan. 5, 2016, which is hereby incorporated in its entireties by reference.

TECHNICAL FIELD

The present disclosure relates to charging field, and more particularly to a quick charging method, a mobile terminal, and a power adapter.

BACKGROUND

Presently, mobile terminals (e.g., smart phones) become more and more popular with consumers. However, the power consumption of mobile terminals is great, thus mobile terminals need to be charged frequently. As the battery capacity of mobile terminals becomes greater and greater, correspondingly, the charging time becomes longer. How to realize quick charging is a problem that needs to be solved instantly.

In the present technology, to achieve the purpose of quick charging, the output current of a power adapter is directly increased without consideration of endurance of a mobile terminal, which will result in a phenomenon of overheat or even burnout of the mobile terminal, and reduces the lifespan of the mobile terminal.

SUMMARY

The embodiments of the present disclosure provide a quick charging method, a power adaptor, and a mobile terminal, which can increase security of a quick charging process.

In a first aspect, a quick charging method is provided. The method is applied in a mobile terminal. The mobile terminal is coupled to a power adapter via a universal serial bus (USB) interface, a power line of the USB interface is used for charging a battery of the mobile terminal, and data lines of the USB interface are used for communication between the mobile terminal and the power adapter. The mobile terminal supports a normal charging mode and a quick charging mode, and a charging speed of the quick charging mode is greater than that of the normal charging mode. The method comprises: determining, by the mobile terminal, a type of the power adapter when it is determined that the power adapter is coupled to the mobile terminal; transmitting, by the mobile terminal, indication information to the power adapter when it is determined that the power adapter is a non-USB power adapter, the indication information being configured to indicate that the mobile terminal has recognized the type of the power adapter and instruct the power adapter to activate a quick charging communication process; receiving, by the mobile terminal, a first instruction from the power adapter after the power adapter activates the quick charging communication process, the first instruction being configured to query whether the mobile terminal agrees to charge the battery of the mobile terminal in the quick charging mode; transmitting, by the mobile terminal, a reply instruction of the first instruction to the power adapter, the reply instruction of the first instruction being configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode; conducting, by the mobile terminal, a handshake communication with the power adapter via a second instruction transmitted by the power adapter to determine a charging voltage of the quick charging mode; conducting, by the mobile terminal, a handshake communication with the power adapter via a third instruction transmitted by the power adapter to determine a charging current of the quick charging mode; and conducting, by the mobile terminal, a handshake communication with the power adapter via a fourth instruction transmitted by the power adapter when the power adapter adjusts an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode and enters a constant current phase, so as to cause the power adapter to adjust the output current to charge the battery in a multi-stage constant current mode.

In a second aspect, a quick charging method is provided. The quick charging method is applied in a power adapter. The power adapter is coupled to a mobile terminal via a USB interface, a power line of the USB interface is used for the power adapter to charge a battery of the mobile terminal, and data lines of the USB interface are used for communication between the power adapter and the mobile terminal. The power adapter supports a normal charging mode and a quick charging mode, and a charging speed of the quick charging mode being greater than that of the normal charging mode. The method comprises: activating, by the power adapter, a quick charging communication process when the power adapter receives indication information for indicating that the mobile terminal has recognized a type of the power adapter from the mobile terminal, and transmitting, by the power adapter, a first instruction to the mobile terminal, the first instruction being configured to query whether the mobile terminal agrees to charge the battery in the quick charging mode; receiving, by the power adapter, a reply instruction of the first instruction from the mobile terminal, the reply instruction of the first instruction being configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode; conducting, by the power adapter, a handshake communication with the mobile terminal via a second instruction to determine a charging voltage of the quick charging mode; conducting, by the power adapter, a handshake communication with the mobile terminal via a third instruction to determine a charging current of the quick charging mode; and adjusting, by the power adapter, an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode to enter a constant current phase; and conducting, by the power adapter, a handshake communication with the mobile terminal via a fourth instruction during the constant current phase to adjust the output current of the power adapter, so as to charge the mobile terminal in a multi-stage constant current mode.

In a third aspect, a mobile terminal is provided. The mobile terminal is coupled to a power adapter via a USB interface. A power line of the USB interface is used for charging a battery of the mobile terminal, and data lines of the USB interface are used for communication between the mobile terminal and the power adapter. The mobile terminal supports a normal charging mode and a quick charging mode, and a charging speed of the quick charging mode is greater than that of the normal charging mode. The mobile terminal comprises: a charging circuit; and a communication control circuit configured to determine a type of the power adapter when it is determined that the power adapter is coupled to the mobile terminal, transmit indication information to the power adapter when it is determined that the power adapter is a non-USB power adapter, wherein the indication information is configured to indicate that the mobile terminal has recognized the type of the power adapter and instruct the power adapter to activate a quick charging communication process. The communication control circuit is further configured to receive a first instruction from the power adapter after the power adapter activates the quick charging communication process, and the first instruction is configured to query whether the mobile terminal agrees to charge a battery of the mobile terminal in the quick charging mode. The communication control circuit is further configured to transmit a reply instruction of the first instruction to the power adapter, and the reply instruction of the first instruction is configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode. The communication control circuit is further configured to conduct a handshake communication with the power adapter via a second instruction transmitted by the power adapter to determine a charging voltage of the quick charging mode, conduct a handshake communication with the power adapter via a third instruction transmitted by the power adapter to determine a charging current of the quick charging mode, and conduct a handshake communication with the power adapter via a fourth instruction transmitted by the power adapter when the power adapter adjusts an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode and enters a constant current phase, so as to cause the power adapter to adjust the output current to charge the battery in a multi-stage constant current mode via the charging circuit.

In a fourth aspect, a power adapter is provided. The power adapter is coupled to a mobile terminal via a USB interface. A power line of the USB interface is used for the power adapter to charge a battery of the mobile terminal, and data lines of the USB interface are used for communication between the power adapter and the mobile terminal. The power adapter supports a normal charging mode and a quick charging mode, and a charging speed of the quick charging mode is greater than that of the normal charging mode. The power adapter comprises a charging circuit and a communication control circuit. The communication control circuit is configured to activate a quick charging communication process when the power adapter receives indication information for indicating that the mobile terminal has recognized a type of the power adapter from the mobile terminal, and transmit a first instruction to the mobile terminal, wherein the first instruction is configured to query whether the mobile terminal agrees to charge the battery in the quick charging mode. The communication control circuit is further configured to receive a reply instruction of the first instruction from the mobile terminal, and the reply instruction of the first instruction is configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode. The communication control circuit is further configured to conduct a handshake communication with the mobile terminal via a second instruction to determine a charging voltage of the quick charging mode, conduct a handshake communication with the mobile terminal via a third instruction to determine a charging current of the quick charging mode, adjust an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode to enter a constant current phase, and conduct a handshake communication with the mobile terminal via a fourth instruction during the constant current phase to adjust the output current of the power adapter, so as to charge the mobile terminal in a multi-stage constant current mode via the charging circuit.

In embodiments of the present disclosure, the power adapter does not increase the charging current blindly to implement quick charging, but negotiates with the mobile terminal via the bidirectional communication with the mobile terminal to determine whether or not the quick charging mode can be adopted. Comparing with the present technology, the security of the quick charging process is improved.

BRIEF DESCRIPTION OF THE DRAWINGS

To better illustrate the technical solution of embodiments of the present disclosure, the following descriptions will briefly illustrate the accompanying drawings described in the embodiments. Obviously, the following described accompanying drawings are some embodiments of the present disclosure. Those skilled in the art can obtain other accompanying drawings according to the described accompanying drawings without creative work.

FIG. 1 is a schematic diagram of a quick charging process in accordance with one or more embodiments of the present disclosure.

FIG. 2 is a schematic flow chart of a quick charging method in accordance with one or more embodiments of the present disclosure.

FIG. 3 is a schematic view showing that a power adapter implements a data reception and transmission in accordance with one or more embodiments of the present disclosure.

FIG. 4 is a schematic view of a communication sequence of a power adapter in accordance with one or more embodiments of the present disclosure.

FIG. 5 is a schematic view of a communication sequence of a power adapter in accordance with one or more embodiments of the present disclosure.

FIG. 6 is a diagrammatic view of a mobile terminal in accordance with one or more embodiments of the present disclosure.

FIG. 7 is a diagrammatic view of a power adapter in accordance with one or more embodiments of the present disclosure.

DETAILED DESCRIPTION

In combination with the first aspect, in an implementation manner of the first aspect, the reply instruction of the first instruction comprises multiple bits, and the multiple bits comprise a first bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a second bit configured to indicate a path impedance of the mobile terminal. The path impedance of the mobile terminal is used for the power adapter to determine whether the USB interface is in good contact.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, a format of the reply instruction of the first instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the mobile terminal agrees to activate the quick charging mode, X=0 indicates that the mobile terminal disagrees to activate the quick charging mode, and the path impedance of the mobile terminal equals to YYYYYY*5 mΩ.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the first instruction is 10101000 or 0xA8.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, conducting, by the mobile terminal, the handshake communication with the power adapter via the second instruction transmitted by the power adapter to determine the charging voltage of the quick charging mode comprises: receiving, by the mobile terminal, the second instruction from the power adapter, the second instruction being configured to query whether the current output voltage of the power adapter is proper to be the charging voltage of the quick charging mode; and transmitting, by the mobile terminal, a reply instruction of the second instruction to the power adapter, the reply instruction of the second instruction being configured to indicate that the current output voltage of the power adapter is proper, high, or low, so as to cause the power adapter to determine the charging voltage of the quick charging mode according to the reply instruction of the second instruction.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, a format of the reply instruction of the second instruction is 1010XX0000, X indicates 1 bit, XX=11 indicates that the current output voltage of the power adapter is proper, XX=10 indicates that the current output voltage of the power adapter is high, XX=01 indicates that the current output voltage of the power adapter is low.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the second instruction is 10100100 or 0xA4.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, conducting, by the mobile terminal, the handshake communication with the power adapter via the third instruction transmitted by the power adapter to determine the charging current of the quick charging mode comprises: receiving, by the mobile terminal, the third instruction from the power adapter, the third instruction being configured to query a maximum charging current which is currently supported by the mobile terminal; and transmitting, by the mobile terminal, a reply instruction of the third instruction to the power adapter, the reply instruction of the third instruction being configured to indicate the maximum charging current which is currently supported by the mobile terminal, so as to cause the power adapter to determine the charging current of the quick charging mode according to the reply instruction of the third instruction.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the reply instruction of the third instruction comprises multiple bits, and the multiple bits of the reply instruction of the third instruction comprise a bit configured to indicate the maximum charging current which is currently supported by the mobile terminal.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, a format of the reply instruction of the third instruction is 1010XXXXXX indicates 1 bit, and the maximum charging current which is currently supported by the mobile terminal equals to 3000+(XXXXXX*250) mA.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the third instruction is 10100110 or 0xA6.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, conducting, by the mobile terminal, the handshake communication with the power adapter via the fourth instruction transmitted by the power adapter so as to cause the power adapter to adjust the current output current comprises: receiving, by the mobile terminal, the fourth instruction from the power adapter during the constant current phase, the fourth instruction being configured to query a current voltage of the battery of the mobile terminal; and transmitting, by the mobile terminal, a reply instruction of the fourth instruction for indicating the current voltage of the battery of the mobile terminal to the power adapter, so as to cause the power adapter to adjust the current output current of the power adapter according to the current voltage of the battery.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the reply instruction of the fourth instruction comprises multiple bits, and the multiple bits of the reply instruction of the fourth instruction comprise a first bit configured to indicate the current voltage of the battery, and a second bit configured to indicate whether the battery is being charged.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, a format of the reply instruction of the fourth instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the battery is being charged, X=0 indicates that the battery is not charged, the current voltage of the battery equals to 3404+(YYYYYY*16) mV.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the fourth instruction is 10100010 or 0xA2.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the method further comprises: transmitting, by the mobile terminal, information for indicating a path impedance of the mobile terminal to the power adapter, so as to cause the power adapter to determine whether the USB interface is in bad contact according to the path impedance during the constant current phase; and receiving, by the mobile terminal, a fifth instruction from the power adapter when the power adapter determines that the USB interface is in bad contact, the fifth instruction being configured to indicate that the USB interface is in bad contact and the power adapter is ready to exit the quick charging mode or reactivate the quick charging communication process.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the fifth instruction is 10110010 or 0xB2.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, the method further comprises: executing, by the mobile terminal, at least one of following operations when the power adapter determines that a reply instruction received from the mobile terminal has an encoding error, and the following operations comprises: exiting the quick charging mode, stopping charging, or reactivating the quick charging communication process.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, an instruction transmitted from the mobile terminal to the power adapter comprises multiple bits, before the mobile terminal transmits any instruction, the mobile terminal firstly transmits the most significant bit of multiple bits of the any instruction; or an instruction received from the power adapter by the mobile terminal comprises multiple bits, when the mobile terminal receives an instruction, the mobile terminal firstly receives the most significant bit of multiple bits of the instruction.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, clock signals used in the communication between the power adapter and the mobile terminal are provided by the power adapter.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, during a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits a clock interrupt signal; or a reply instruction received from the mobile terminal by the power adapter comprises multiple bits, during a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and then receives each bit after a preset time interval.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, each instruction transmitted from the power adapter to the mobile terminal comprises an 8-bit data, the power adapter transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level; or each reply instruction received from the mobile terminal by the power adapter comprises a 10-bit data, the power adapter receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, during a process that the power adapter receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V; or during the process that the power adapter receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V; or during a process that the power adapter transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V; or during the process that the power adapter transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V; or during the process that the power adapter transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD; the VDD is a work voltage of the power adapter, and/or the VDD is greater than 3.2V and less than 4.5V.

In combination with the first aspect or any of the above implementation manners, in another implementation manner of the first aspect, after the mobile terminal receives the clock interrupt signal, holding time of a data of an instruction transmitted from the power adapter to the mobile terminal is 500±5 μs.

In combination with the second aspect, in an implementation manner of the second aspect, the method further comprises: detecting, by the power adapter, a charging current provided to the mobile terminal by the power adapter; and determining, by the power adapter, that the mobile terminal has recognized the type of the power adapter when the power adapter does not receive the indication information and determines that within a preset time period the charging current provided to the mobile terminal by the power adapter is greater than or equals to a preset current threshold, activating, by the power adapter, the quick charging communication process, and transmitting, by the power adapter, the first instruction to the mobile terminal.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the reply instruction of the first instruction comprises multiple bits, and the multiple bits comprise a first bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a second bit configured to indicate a path impedance of the mobile terminal, and the path impedance of the mobile terminal is used for the power adapter to determine whether the USB interface is in good contact.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, a format of the reply instruction of the first instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the mobile terminal agrees to activate the quick charging mode, X=0 indicates that the mobile terminal disagrees to activate the quick charging mode, and the path impedance of the mobile terminal equals to YYYYYY*5 mΩ.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the first instruction is 10101000 or 0xA8.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, conducting, by the power adapter, the handshake communication with the mobile terminal via the second instruction to determine the charging voltage of the quick charging mode comprises: transmitting, by the power adapter, the second instruction to the mobile terminal, the second instruction being configured to query whether the current output voltage of the power adapter is proper to be the charging voltage of the quick charging mode; receiving, by the power adapter, a reply instruction of the second instruction from the mobile terminal, the reply instruction of the second instruction being configured to indicate that the current output voltage of the power adapter is proper, high, or low; determining, by the power adapter, the current output voltage of the power adapter to be the charging voltage of the quick charging mode when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is proper; and adjusting, by the power adapter, the current output voltage of the power adapter according to the reply instruction of the second instruction when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is high or low, repeating, by the power adapter, the handshake communication based on the second instruction to constantly adjust the current output voltage of the power adapter until the rely instruction of the second instruction indicates that the current output voltage of the power adapter is proper.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the reply instruction of the second instruction comprises multiple bits, the multiple bits of the reply instruction of the second instruction comprise a bit configured to indicate whether the current output voltage of the power adapter is proper, high, or low.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, a format of the reply instruction of the second instruction is 1010XX0000, X indicates 1 bit, XX=11 indicates that the current output voltage of the power adapter is proper, XX=10 indicates that the current output voltage of the power adapter is high, XX=01 indicates that the current output voltage of the power adapter is low.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the second instruction is 10100100 or 0xA4.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, conducting, by the power adapter, the handshake communication with the mobile terminal via the third instruction to determine the charging current of the quick charging mode comprises: transmitting, by the mobile terminal, the third instruction to the mobile terminal, the third instruction being configured to query a maximum charging current which is currently supported by the mobile terminal; receiving, by the power adapter, a reply instruction of the third instruction from the mobile terminal, the reply instruction of the third instruction being configured to indicate the maximum charging current which is currently supported by the mobile terminal; and determining, by the power adapter, the charging current of the quick charging mode according to the reply instruction of the third instruction.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the reply instruction of the third instruction comprises multiple bits, and the multiple bits of the reply instruction of the third instruction comprise a bit configured to indicate the maximum charging current which is currently supported by the mobile terminal.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, a format of the reply instruction of the third instruction is 1010XXXXXX, X indicates 1 bit, the maximum charging current which is currently supported by the mobile terminal equals to 3000+(XXXXXX*250) mA.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the third instruction is 10100110 or 0xA6.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, conducting, by the power adapter, the handshake communication with the mobile terminal via the fourth instruction during the constant current phase to adjust the current output current of the power adapter comprises: transmitting, by the power adapter, the fourth instruction to the mobile terminal during the constant current phase, the fourth instruction being configured to query a current voltage of the battery of the mobile terminal; and receiving, by the power adapter, a reply instruction of the fourth instruction from the mobile terminal, the reply instruction of the fourth instruction being configured to indicate the current voltage of the battery of the mobile terminal; and adjusting, by the power adapter, the current output current of the power adapter according to the current voltage of the battery.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the reply instruction of the fourth instruction comprises multiple bits, and the multiple bits of the reply instruction of the fourth instruction comprise a first bit configured to indicate the current voltage of the battery, and a second bit configured to indicate whether the battery is being charged.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, a format of the reply instruction of the fourth instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the battery is being charged, X=0 indicates that the battery is not charged, the current voltage of the battery equals to 3404+(YYYYYY*16) mV.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the fourth instruction is 10100010 or 0xA2.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the method further comprises: receiving, by the power adapter, information for indicating a path impedance of the mobile terminal from the mobile terminal; determining, by the power adapter, an impedance of a charging circuit from the power adapter to the battery according to the current output voltage of the power adapter and the current voltage of the battery during the constant current phase; determining, by the power adapter, whether the USB interface is in bad contact according to the impedance of the charging circuit, the path impedance of the mobile terminal, and a path impedance of a charging circuit between the power adapter and the mobile terminal; and when the USB interface being in bad contact, exiting, by the power adapter, the quick charging mode, or re-determining, by the power adapter, whether to activate the quick charging mode.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the method further comprises: transmitting, by the power adapter, a fifth instruction to the mobile terminal when the USB interface is in bad contact, the fifth instruction being configured to indicate that the USB interface is in bad contact and the power adapter is ready to exit the quick charging mode or re-determine whether to activate the quick charging mode.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the fifth instruction is 10110010 or 0xB2.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, the method further comprises: executing, by the power adapter, at least one of following operations when the power adapter determines that a reply instruction received from the mobile terminal has an encoding error, and the following operations comprises: exiting the quick charging mode, stopping charging, or reactivating the quick charging communication process.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, when the power adapter transmits any instruction, the power adapter firstly transmits the most significant bit of multiple bits of the any instruction; or an instruction received from the mobile terminal by the power adapter comprises multiple bits, when the power adapter receives an instruction, the power adapter firstly receives the most significant bit of multiple bits of the instruction.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, clock signals or clock interrupt signals used in the communication between the power adapter and the mobile terminal are provided by the power adapter.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, during a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits the clock interrupt signal; or a reply instruction received from the mobile terminal by the power adapter comprises multiple bits, during a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and then receives each bit after a preset time interval.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, each instruction transmitted from the power adapter to the mobile terminal comprises an 8-bit data, the power adapter transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level; or each reply instruction received from the mobile terminal by the power adapter comprises a 10-bit data, the power adapter receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, during a process that the power adapter receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V; or during the process that the power adapter receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V; or during a process that the power adapter transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V; or during the process that the power adapter transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V; or during the process that the power adapter transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD; the VDD is a work voltage of the power adapter, and/or the VDD is greater than 3.2V and less than 4.5V.

In combination with the second aspect or any of the above implementation manners, in another implementation manner of the second aspect, after the mobile terminal receives the clock interrupt signal, holding time of a data of an instruction transmitted from the power adapter to the mobile terminal is 500±5 μs.

In combination with the third aspect, in an implementation manner of the third aspect, the reply instruction of the first instruction comprises multiple bits, and the multiple bits comprise a first bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a second bit configured to indicate a path impedance of the mobile terminal, and the path impedance of the mobile terminal is used for the power adapter to determine whether the USB interface is in good contact.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, a format of the reply instruction of the first instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the mobile terminal agrees to activate the quick charging mode, X=0 indicates that the mobile terminal disagrees to activate the quick charging mode, and the path impedance of the mobile terminal equals to YYYYYY*5 mΩ.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the first instruction is 10101000 or 0xA8.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the communication control circuit is configured to receive the second instruction from the power adapter, and the second instruction is configured to query whether the current output voltage of the power adapter is proper to be the charging voltage of the quick charging mode. The communication control circuit is further configured to transmit a reply instruction of the second instruction to the power adapter, and the reply instruction of the second instruction is configured to indicate that the current output voltage of the power adapter is proper, high, or low, so as to cause the power adapter to determine the charging voltage of the quick charging mode according to the reply instruction of the second instruction.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, a format of the reply instruction of the second instruction is 1010XX0000, X indicates 1 bit, XX=11 indicates that the current output voltage of the power adapter is proper, XX=10 indicates that the current output voltage of the power adapter is high, XX=01 indicates that the current output voltage of the power adapter is low.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the second instruction is 10100100 or 0xA4.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the communication control circuit is configured to receive the third instruction from the power adapter, the third instruction is configured to query a maximum charging current which is currently supported by the mobile terminal; the communication control circuit is further configured to transmit a reply instruction of the third instruction for indicating the maximum charging current which is currently supported by the mobile terminal to the power adapter, so as to cause the power adapter to determine the charging current of the quick charging mode according to the reply instruction of the third instruction.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the reply instruction of the third instruction comprises multiple bits, and the multiple bits of the reply instruction of the third instruction comprise a bit configured to indicate the maximum charging current which is currently supported by the mobile terminal.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, a format of the reply instruction of the third instruction is 1010 XXXXX, X indicates 1 bit, the maximum charging current which is currently supported by the mobile terminal equals to 3000+(*250) mA.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the third instruction is 10100110 or 0xA6.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the communication control circuit is configured to receive the fourth instruction from the power adapter during the constant current phase, and the fourth instruction is configured to query a current voltage of the battery of the mobile terminal. The communication control circuit is further configured to transmit a reply instruction of the fourth instruction for indicating the current voltage of the battery of the mobile terminal to the power adapter, so as to cause the power adapter to adjust the current output current of the power adapter according to the current voltage of the battery.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the reply instruction of the fourth instruction comprises multiple bits, and the multiple bits of the reply instruction of the fourth instruction comprise a first bit configured to indicate the current voltage of the battery, and a second bit configured to indicate whether the battery is being charged.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, a format of the reply instruction of the fourth instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the battery is being charged, X=0 indicates that the battery is not charged, the current voltage of the battery equals to 3404+(YYYYYY*16) mV.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the fourth instruction is 10100010 or 0xA2.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the communication control circuit is further configured to transmit information for indicating a path impedance of the mobile terminal to the power adapter, so as to cause the power adapter to determine whether the USB interface is in bad contact according to the path impedance during the constant current phase. The communication control circuit is further configured to receive a fifth instruction from power adapter when the power adapter determines that the USB interface is in bad contact, and the fifth instruction is configured to indicate that the USB interface is in bad contact and the power adapter is ready to exit the quick charging mode or reactivate the quick charging communication process.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the fifth instruction is 10110010 or 0xB2.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, the communication control circuit is further configured to execute at least one of following operations when the power adapter determines that a reply instruction received from the mobile terminal has an encoding error, and the following operations comprise: exiting the quick charging mode, stopping charging, or reactivating the quick charging communication process.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, an instruction transmitted from the mobile terminal to the power adapter comprises multiple bits, before the mobile terminal transmits any instruction, the mobile terminal firstly transmits the most significant bit of multiple bits of the any instruction; or an instruction received from the power adapter by the mobile terminal comprises multiple bits, when the mobile terminal receives an instruction, the mobile terminal firstly receives the most significant bit of multiple bits of the instruction.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, clock signals used in the communication between the power adapter and the mobile terminal are provided by the power adapter.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, during a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits a clock interrupt signal; or a reply instruction received from the mobile terminal by the power adapter comprises multiple bits, during a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and receives each bit after a preset time interval.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, each instruction transmitted from the power adapter to the mobile terminal comprises an 8-bit data, the power adapter transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level; or each reply instruction received from the mobile terminal by the power adapter comprises a 10-bit data, the power adapter receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, during a process that the power adapter receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V; or during the process that the power adapter receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V; or during a process that the power adapter transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V; or during the process that the power adapter transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V; or during the process that the power adapter transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD; the VDD is a work voltage of the power adapter, and/or the VDD is greater than 3.2V and less than 4.5V.

In combination with the third aspect or any of the above implementation manners, in another implementation manner of the third aspect, after the mobile terminal receives the clock interrupt signal, holding time of a data of an instruction transmitted from the power adapter to the mobile terminal is 500±5 μs.

In combination with the fourth aspect, in an implementation manner of the fourth aspect, the communication control circuit is further configured to detect a charging current provided to the mobile terminal by the power adapter, determine that the mobile terminal has recognized the type of the power adapter when the power adapter does not receive the indication information and determines that within a preset time period the charging current provided to the mobile terminal by the power adapter is greater than or equals to a preset current threshold, activate the quick charging communication process, and transmit the first instruction to the mobile terminal.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the reply instruction of the first instruction comprises multiple bits, and the multiple bits comprise a bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a bit configured to indicate a path impedance of the mobile terminal, the path impedance of the mobile terminal is used for the power adapter to determine whether the USB interface is in good contact.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, a format of the reply instruction of the first instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the mobile terminal agrees to activate the quick charging mode, X=0 indicates that the mobile terminal disagrees to activate the quick charging mode, and the path impedance of the mobile terminal equals to YYYYYY*5 mΩ.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the first instruction is 10101000 or 0xA8.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the communication control circuit is configured to transmit the second instruction to the mobile terminal, and the second instruction is configured to query whether the current output voltage of the power adapter is proper to be the charging voltage of the quick charging mode. The communication control circuit is further configured to receive a reply instruction of the second instruction from the mobile terminal, and the reply instruction of the second instruction is configured to indicate that the current output voltage of the power adapter is proper, high, or low. The communication control circuit is further configured to determine the current output voltage of the power adapter to be the charging voltage of the quick charging mode when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is proper, adjust the current output voltage of the power adapter according to the reply instruction of the second instruction when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is high or low, and repeat the handshake communication based on the second instruction to constantly adjust the current output voltage of the power adapter until the rely instruction of the second instruction indicates that the current output voltage of the power adapter is proper.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the reply instruction of the second instruction comprises multiple bits, the multiple bits of the reply instruction of the second instruction comprise a bit configured to indicate that the current output voltage of the power adapter is proper, high, or low.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, a format of the reply instruction of the second instruction is 1010XX0000, X indicates 1 bit, XX=11 indicates that the current output voltage of the power adapter is proper, XX=10 indicates that the current output voltage of the power adapter is high, XX=01 indicates that the current output voltage of the power adapter is low.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the second instruction is 10100100 or 0xA4.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the communication control circuit is configured to transmit the third instruction to the mobile terminal, and the third instruction is configured to query a maximum charging current which is currently supported by the mobile terminal. The communication control circuit is further configured to receive a reply instruction of the third instruction from the mobile terminal, and the reply instruction of the third instruction is configured to indicate the maximum charging current which is currently supported by the mobile terminal. The communication control circuit is further configured to determine the charging current of the quick charging mode according to the reply instruction of the third instruction.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the reply instruction of the third instruction comprises multiple bits, and the multiple bits of the reply instruction of the third instruction comprise a bit configured to indicate the maximum charging current which is currently supported by the mobile terminal.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, a format of the reply instruction of the third instruction is 1010XXXXXX, X indicates 1 bit, the maximum charging current which is currently supported by the mobile terminal equals to 3000+(*250) mA.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the third instruction is 10100110 or 0xA6.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the communication control circuit is configured to transmit the fourth instruction to the mobile terminal during the constant current phase, and the fourth instruction is configured to query a current voltage of the battery of the mobile terminal. The communication control circuit is further configured to receive a reply instruction of the fourth instruction from the mobile terminal, and the reply instruction of the fourth instruction is configured to indicate the current voltage of the battery of the mobile terminal. The communication control circuit is further configured to adjust the output current of the power adapter according to the current voltage of the battery.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the reply instruction of the fourth instruction comprises multiple bits, and the multiple bits of the reply instruction of the fourth instruction comprise a bit configured to indicate the current voltage of the battery, and a bit configured to indicate whether the battery is being charged.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, a format of the reply instruction of the fourth instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the battery is being charged, X=0 indicates that the battery is not charged, the current voltage of the battery equals to 3404+(YYYYYY*16) mV.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the fourth instruction is 10100010 or 0xA2.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the communication control circuit is further configured to receive information for indicating a path impedance of the mobile terminal from the mobile terminal, determine an impedance of a charging circuit from the power adapter to the battery according to the current output voltage of the power adapter and the current voltage of the battery during the constant current phase, determine whether the USB interface is in bad contact according to the impedance of the charging circuit, the path impedance of the mobile terminal, and a path impedance of a charging circuit between the power adapter and the mobile terminal, and exit the quick charging mode or re-determine whether to activate the quick charging mode when the USB interface is in bad contact.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the communication control circuit is further configured to transmit a fifth instruction to the mobile terminal when the USB interface is in bad contact, and the fifth instruction is configured to indicate that the USB interface is in bad contact and the power adapter is ready to exit the quick charging mode or re-determine whether to activate the quick charging mode.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the fifth instruction is 10110010 or 0xB2.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, the communication control circuit is further configured to execute at least one of following operations when the power adapter determines that a reply instruction received from the mobile terminal has an encoding error, and the following operations comprise: exiting the quick charging mode, stopping charging, or reactivating the quick charging communication process.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, when the power adapter transmits any instruction, the power adapter firstly transmits the most significant bit of multiple bits of the any instruction; or an instruction received from the mobile terminal by the power adapter comprises multiple bits, when the power adapter receives an instruction, the power adapter firstly receives the most significant bit of multiple bits of the instruction.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, clock signals or clock interrupt signals used in the communication between the power adapter and the mobile terminal are provided by the power adapter.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, during a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits the clock interrupt signal; or a reply instruction received from the mobile terminal by the power adapter comprises multiple bits, during a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and then receives each bit after a preset time interval.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, each instruction transmitted from the power adapter to the mobile terminal comprises an 8-bit data, the power adapter transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level; or each reply instruction received from the mobile terminal by the power adapter comprises a 10-bit data, the power adapter receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, during a process that the power adapter receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V; or during the process that the power adapter receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V; or during a process that the power adapter transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V; or during the process that the power adapter transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V; or during the process that the power adapter transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD; the VDD is a work voltage of the power adapter, and/or the VDD is greater than 3.2V and less than 4.5V.

In combination with the fourth aspect or any of the above implementation manners, in another implementation manner of the fourth aspect, after the mobile terminal receives the clock interrupt signal, holding time of a data of an instruction transmitted from the power adapter to the mobile terminal is 500±5 μs.

The technical solution of embodiments of the present disclosure will be described clearly and completely in combination with the accompanying drawings of the embodiments of the present disclosure. Obviously, the described embodiments are a part of embodiments of the present disclosure, and not all of the embodiments. According to the embodiments of the present disclosure, other embodiments obtained by those skilled in the art without creative work all fall within the protection scope of the present disclosure.

FIG. 1 is a schematic diagram of a quick charging process in accordance with one or more embodiments of the present disclosure.

As illustrated by FIG. 1, a quick charging communication process may include five phases.

Phase 1:

The mobile terminal can detect a type of the power adapter via a positive data (D+) line and a negative data (D−) line. When it is determined that the power adapter is a non-USB charging device, a current absorbed by the mobile terminal can be greater than a preset current threshold 12. When the power adapter determines that within a preset time length (for example, continuous T1 time length) an output current of the power adapter is greater than or equal to I2, the power adapter determines that the mobile terminal has recognized the type of the power adapter, and the power adapter activates a handshake communication between the power adapter and the mobile terminal. The power adapter transmits a first instruction to query whether the mobile terminal is to activate a quick charging mode.

When a reply instruction received from the mobile terminal by the power adapter indicates that the mobile terminal disagrees to activate the quick charging mode, the power adapter redetects the output current of the power adapter. When the output current of the power adapter is still greater than or equal to I2, the power adapter retransmits the request to query whether the mobile terminal is to activate the quick charging mode, and the above steps of the phase 1 are repeated until the mobile terminal agrees to activate the quick charging mode or the output current of the power adapter is no longer greater than or equal to I2.

When the mobile terminal agrees to activate quick charging, the quick charging communication process enters a phase 2.

Phase 2:

The power adapter can output different voltage level. The power adapter transmits a second instruction to query the mobile terminal for whether an output voltage of the power adapter is proper (that is, whether the output voltage is proper to be a charging voltage of the quick charging mode).

The mobile terminal transmits a reply to the power adapter to inform the power adapter that the output voltage of the power adapter is high, low, or proper. If the reply the power adapter received from the mobile terminal indicates that the output voltage of the power adapter is high or low, the power adapter selects another output voltage level, and retransmits the second instruction to the mobile terminal to requery the mobile terminal for whether the output voltage of the power adapter is proper.

The above steps of the phase 2 are repeated until the mobile terminal returns a reply to the power adapter to inform the power adapter that the output voltage of the power adapter is proper, and the quick charging communication process enters a phase 3.

Phase 3:

The power adapter transmits a third instruction to the mobile terminal to query a maximum charging current which is currently supported by the mobile terminal. The mobile terminal transmits a reply to the power adapter to inform the power adapter of the maximum charging current which is currently supported by the mobile terminal, and the quick charging communication process enters a phase 4.

Phase 4:

The power adapter sets the output current of the power adapter to be the maximum charging current which is currently supported by the mobile terminal, and the quick charging communication process enters a constant current phase, that is, a phase 5.

Phase 5:

After entering the constant current phase, the power adapter transmits a fourth instruction every a time interval to query a current voltage of a battery of the mobile terminal. The mobile terminal can transmit a reply to the power adapter to inform the power adapter of the current voltage of the battery of the mobile terminal. The power adapter can determine whether a USB interface is in good contact and whether it is need to decrease the current charging current value of the mobile terminal according to the reply for indicating the current voltage of the battery of the mobile terminal. When the power adapter determines that the USB interface is in bad contact, the power adapter transmits a fifth instruction to the mobile terminal, and then resets to reenter the phase 1.

It can be understood that in the constant current phase the output current of the power adapter does not keep unchanged all the time. The constant current phase is a multi-stage constant current phase, that is, the output current of the power adapter keeps unchanged within a period.

The above quick charging communication process is finished based on negotiation between the power adapter and the mobile terminal, and safety of quick charging can be ensured.

Specifically, during the whole process, the power adapter acts as a host, and conducts a handshake communication with the mobile terminal actively. The power adapter firstly determines whether to activate the quick charging communication process. After activating the quick charging communication process, the host transmits an instruction to the mobile terminal. A condition that causes the power adapter to determine to activate the quick charging process is that the power adapter determines that within the preset time period the output current of the power adapter is greater than or equals to I2. When the power adapter determines that the condition is satisfied, the power adapter determines that the mobile terminal has recognized the type of the power adapter, that is, determines that the mobile terminal has recognized that the power adapter is a non-USB charging device (or has recognized that the power adapter is a standard charging device, and is not a non-standard charging device, such as a computer, or has recognized that the power adapter is not a computer, that is, the non-USB charging device can refer to any other type charging device except a computer). By means of such a detection manner, the power adapter can be acted as a host, and the quick charging communication process is simplified. However, this manner is similar to a blind detection manner, that is, the power adapter guesses that the mobile terminal has recognized the type of the power adapter. Adopting the blind detection manner, certain errors may occur. For example, if a standard charging current of some mobile terminals is I2 (or about I2), the current detected by the power adapter may not be exactly right, and the power adapter determines that the charging current of such mobile terminals is less than I2, which may result in that such mobile terminals cannot activate quick charging communication all the time and have to adopt a standard charging method for charging.

To avoid the above problems, the following will describe a quick charging method in accordance with another embodiment of the present disclosure in combination with FIG. 2. In the embodiment illustrated by FIG. 2, after the mobile terminal has recognized that the power adapter is a non-USB charging device, the mobile terminal transmits an indication message, for example, a segment of serial codes, to inform the power adapter that type recognition has finished, and inform the power adapter to activate the quick charging communication process. FIG. 2 includes following steps.

Step A: the mobile terminal recognizes the type of the power adapter when the mobile terminal determines that the power adapter is coupled to the mobile terminal.

Step B: when the mobile terminal determines that the power adapter is a non-USB charging device, and determines that a quick charging condition is satisfied, the mobile terminal transmits a segment of serial codes via the D+ data line of a USB interface to inform the power adapter that the mobile terminal has recognized the type of the power adapter.

According to a BC1.2 protocol, a main process of recognizing the type of the power adapter is that: when a high level signal is transmitted via the D+ and the high level signal can be received via the D−, it is determined that the power adapter is a standard charging device (non-USB charging device). In the embodiment of the present disclosure, the power adapter which can support the quick charging mode includes a micro controller unit (MCU), and during the charging process, the MCU communicates with the mobile terminal via the data lines of the USB interface. Thus, different from the BC1.2 protocol, the D+ and D− are not shorted. At this point, to cause the mobile terminal to correctly recognize the type of the power adapter, the voltage level of the D+ is set to be high. In the embodiment of the present disclosure, the serial codes can be transmitted via the D+.

Step C: when the power adapter supports the quick charging mode, after the power adapter receives the serial codes from the mobile terminal, the power adapter transmits a quick charging request to the mobile terminal to enter the quick charging communication process.

Step D: when the power adapter supports the quick charging mode, and before the power adapter receives the serial codes from the mobile terminal, the power adapter has determined that within the preset time period the charging current is greater than the preset charging current, the power adapter can directly transmit the quick charging request to the mobile terminal without waiting for the mobile terminal to transmit the serial codes to the power adapter, and enter the quick charging communication process.

The following will describe embodiments of the present disclosure more specifically in combination with detailed examples. It should be noted that examples of FIGS. 3-5 are just used to help those skilled in the art to understand the embodiments of the present disclosure, and not used to limit the embodiments of the present disclosure to detailed values or detailed scenarios which are illustrated in the examples. Apparently, those skilled in the art can make various equivalent modification or change according to the examples illustrated by FIGS. 3-5, and such modification or change shall fall within the scope of the embodiments of the present disclosure.

Firstly, a quick charging communication instruction set of the power adapter and the mobile terminal can be defined. For example, the quick charging communication instruction set is illustrated by the table 1.

TABLE 1 Quick charging communication instruction set Instruction 1: requesting for quick charging Power adapter −> Mobile terminal 10101000 0xA8 Mobile terminal −> Power adapter 101XYYYYYY X: 1 −> Agree 0 −> Disagree, Path impedance = YYYYYY*5(mΩ) Instruction 2: querying whether a voltage of the power adapter is proper Power adapter −> Mobile terminal 10100100 0xA4 Mobile terminal −> Power adapter 1010XX0000 XX: 11 −> Proper 10 −> High 01 −> Low 00 −> Error Instruction 3: querying for a maximum charging current which is currently supported by the mobile terminal Power adapter −> Mobile terminal 10100110 0xA6 Mobile terminal −> Power adapter 1010XXXXXX Maximum charging current currently supported by the mobile terminal = 3000 + (XXXXXX*250)(mA) Instruction 4: querying for a current voltage of a battery of the mobile terminal Power adapter −> Mobile terminal 10100010 0xA2 Mobile terminal −> Power adapter 101XYYYYYY X: 1 −> Being charged 0 −> Uncharged, Battery voltage = 3404 + (YYYYYY*16)(mV) Instruction 5: informing the mobile terminal that USB connection is poor and quick charging should be stopped Power adapter −> Mobile terminal 10110010 0xB2 Mobile terminal −> Power adapter NONE

From table 1, it can be seen that for each communication the power adapter firstly transmits an 8-bit data, and then the mobile terminal returns a 10-bit data. When the power adapter transmits a data, the power adapter can firstly transmit the most significant bit (MSB). Similarly, when the power adapter receives a data, the power adapter firstly receives the MSB. Clock signals for data transmission and data reception of the power adapter can be provided by the power adapter.

When the power adapter transmits a data, the power adapter transmits each bit of the data before transmitting a clock interrupt signal, which can guarantee the accuracy of the data received by the mobile terminal. When the power adapter receives a data, the power adapter can firstly transmit the clock interrupt signal, and then receive each bit of the data after a certain time, which can guarantee the accuracy and reliability of the data received by the power adapter.

FIG. 3 is a schematic view showing that the power adapter implements a data reception and data transmission in accordance with one or more embodiments of the present disclosure. For FIG. 3, there are a number of methods for parsing a data to determine whether the data is valid. For example, previous n bits of a data can be defined as 101 in advance. When previous 3 bits of a data received by the power adapter is not 101, the data is determined as an invalid data, and communication fails. Or, a received data is defined to include 10 bits in advance. If a received data does not include 10 bits, the received data is determined as an invalid data, and communication fails.

FIG. 4 is a schematic view of a communication sequence of the power adapter in accordance with one or more embodiments of the present disclosure. From FIG. 4, a relationship between a communication sequence indicated by the clock signals which are transmitted by the D+ data line and data signals transmitted by the D− data line. FIG. 5 shows a detailed example. In FIG. 5, after the power adapter transmits the instruction 10101000 to the mobile terminal, the power adapter receives the reply instruction 1011001111 from the mobile terminal.

In combination with FIGS. 6-7, the following will specifically describe the mobile terminal and the power adapter of the embodiments of the present disclosure. It can be understood that the mobile terminal of FIG. 6 can implement various functions described in the quick charging method, and the power adapter of FIG. 7 can implement various functions described in the quick charging method. To avoid repetition, detailed description will be omitted.

FIG. 6 is a diagrammatic view of a mobile terminal in accordance with one or more embodiments of the present disclosure. A mobile terminal 600 of FIG. 6 is coupled to a power adapter via a USB interface. A power line of the USB interface is used for charging a battery of the mobile terminal 600. Data lines of the USB interface are used for communication between the mobile terminal 600 and the power adapter. The mobile terminal 600 supports a normal charging mode and a quick charging mode, and a charging speed of the quick charging mode is greater than that of the normal charging mode. The mobile terminal 600 includes a communication control circuit 610 and a charging circuit 620.

The communication control circuit 610 is configured to determine a type of the power adapter when it is determined that the power adapter is coupled to the mobile terminal 600. When it is determined that the power adapter is a non-USB power adapter, the communication control circuit 610 transmits indication information, and the indication information is configured to indicate that the mobile terminal 600 has recognized the type of the power adapter and inform the power adapter to activate a quick charging communication process. After the power adapter activates the quick charging communication process, the communication control circuit 610 receives a first instruction from the power adapter, and the first instruction is configured to query the mobile terminal 600 whether the mobile terminal 600 agrees to charge the battery in the quick charging mode. The communication control circuit 610 transmits a reply instruction of the first instruction to the power adapter, and the reply instruction of the first instruction is configured to indicate that the mobile terminal 600 agrees to charge the battery in the quick charging mode. The communication control circuit 610 conducts a handshake communication with the power adapter via a second instruction transmitted by the power adapter to determine a charging voltage of the quick charging mode, and conducts a handshake communication with the power adapter via a third instruction transmitted by the power adapter to determine a charging current of the quick charging mode. After the power adapter adjusts an output voltage and output current of the power adapter to be the charging voltage and charging current of the quick charging mode and enters the constant current phase, the communication control circuit 610 conducts a handshake communication with the power adapter via a fourth instruction transmitted by the power adapter to cause the power adapter to adjust the output current and charge the battery in a multi-stage constant current mode via the charging circuit 620.

In embodiments of the present disclosure, the power adapter does not increase the charging current blindly for quick charging, but negotiates with the mobile terminal via communication with the mobile terminal to determine whether the quick charging mode can be adopted. Comparing with the present technology, the security of the quick charging process is improved.

Optionally, in an embodiment, the reply instruction of the first instruction includes multiple bits, and the multiple bits include a bit configured to indicate whether the mobile terminal 600 agrees to activate the quick charging mode, and a bit configured to indicate a path impedance of the mobile terminal 600. The path impedance of the mobile terminal 600 is used for the power adapter to determine whether the USB interface is in good contact.

Optionally, in an embodiment, a format of the reply instruction of the first instruction is 101XYYYYYY, X indicates 1 bit, and Y indicates 1 bit. X=1 indicates that the mobile terminal 600 agrees to activate the quick charging mode, X=0 indicates that the mobile terminal 600 does not agree to activate the quick charging mode, and the path impedance of the mobile terminal 600 equals to YYYYYY*5 mΩ.

Optionally, in an embodiment, the first instruction is 10101000 or 0xA8.

Optionally, in an embodiment, the communication control circuit 610 is configured to receive a second instruction from the power adapter, and the second instruction is configured to query whether the current output voltage of the power adapter is proper to be set to be the charging voltage of the quick charging mode. The communication control circuit 610 is configured to transmit a reply instruction of the second instruction to the power adapter, and the reply instruction of the second instruction is configured to indicate that the current output voltage of the power adapter is proper, high, or low, so as to cause the power adapter to determine the charging voltage of the quick charging mode according to the replay instruction of the second instruction.

Optionally, in an embodiment, a format of the reply instruction corresponding to the second instruction is 1010XX0000, X indicates 1 bit, XX=11 indicates that the current output voltage of the power adapter is proper, XX=10 indicates that the current output voltage of the power adapter is high, XX=01 indicates that the current output voltage of the power adapter is low.

Optionally, in an embodiment, the second instruction is 10100100 or 0xA4.

Optionally, in an embodiment, the communication control circuit 610 is configured to receive the third instruction from the power adapter, and the third instruction is configured to query a maximum charging current which is currently supported by the mobile terminal 600. The communication control circuit 610 is configured to transmit a reply instruction of the third instruction to the power adapter, and the reply instruction of the third instruction is configured to indicate the maximum charging current which is currently supported by the mobile terminal 600, so as to cause the power adapter to determine the charging current of the quick charging mode according to the reply instruction of the third instruction.

Optionally, in an embodiment, the reply instruction of the third instruction includes multiple bits, and the multiple bits of the reply instruction of the third instruction include a bit configured to indicate the maximum charging current which is currently supported by the mobile terminal 600.

Optionally, in an embodiment, a format of the reply instruction of the third instruction is 1010XXXXXX, and X indicates 1 bit. The maximum charging current which is currently supported by the mobile terminal equals to 3000+*250) mA.

Optionally, in an embodiment, the third instruction is 10100110 or 0xA6.

Optionally, in an embodiment, the communication control circuit 610 is configured to receive the fourth instruction from the power adapter during the constant current phase, and the fourth instruction is configured to query the current voltage of the battery of the mobile terminal 600. The communication control circuit 610 is configured to transmit a reply instruction of the fourth instruction to the power adapter, and the reply instruction of the fourth instruction is configured to indicate the current voltage of the battery of the mobile terminal 600, so as to cause the power adapter to adjust the output current of the power adapter according to the current voltage of the battery.

Optionally, in an embodiment, the reply instruction of the fourth instruction includes multiple bits, and the multiple bits of the reply instruction of the fourth instruction include a bit configured to indicate the current voltage of the battery, and a bit configured to indicate whether the battery is being charged.

Optionally, in an embodiment, a format of the reply instruction of the fourth instruction is 101XYYYYYY, X indicates 1 bit, and Y indicates 1 bit. X=1 indicates that the battery is being charged, and X=0 indicates that the battery is not charged. The current voltage of the battery equals to 3404+(YYYYYY*16) mV.

Optionally, in an embodiment, the fourth instruction is 10100010 or 0xA2.

Optionally, in an embodiment, the communication control circuit 610 is further configured to transmit information for indicating a path impedance of the mobile terminal 600 to the power adapter, so as to cause the power adapter to determine whether the USB interface is in bad contact according to the path impedance during the constant current phase. When the power adapter determines that the USB interface is in bad contact, the communication control circuit 610 receives a fifth instruction from the power adapter, and the fifth instruction is configured to indicate that the USB interface is in bad contact and the power adapter is ready to exit the quick charging mode or reactivate the quick charging communication process.

Optionally, in an embodiment, the fifth instruction is 10110010 or 0xB2.

Optionally, in an embodiment, when the power adapter determines that the reply instruction received from the mobile terminal 600 has an encoding error, the communication control circuit 610 is further configured to execute at least one of following operations: exiting the quick charging mode, stopping charging, or reactivating the quick charging communication.

Optionally, in an embodiment, an instruction transmitted from the mobile terminal 600 to the power adapter includes multiple bits. Before the mobile terminal 600 transmits any instruction, the mobile terminal 600 firstly transmits the MSB of the multiple bits of the any instruction. Or, an instruction received from the power adapter by the mobile terminal 600 includes multiple bits. When the mobile terminal 600 receives a certain instruction, the mobile terminal 600 firstly receives the MSB of the multiple bits of the certain instruction.

Optionally, in an embodiment, the clock signals used in the communication between the power adapter and the mobile terminal are provided by the power adapter.

Optionally, in an embodiment, an instruction transmitted from the power adapter to the mobile terminal 600 includes multiple bits. During a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits a clock interrupt signal. Or, a reply instruction received from the mobile terminal 600 by the power adapter includes multiple bits. During a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and then receives each bit after a preset time interval.

Optionally, in an embodiment, each instruction transmitted from the power adapter to the mobile terminal 600 includes an 8-bit data. The power adapter transmits the 8-bit data to the mobile terminal 600 via eight continuous clock periods of the clock signal. Level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level. Or, each reply instruction received from the mobile terminal 600 by the power adapter includes a 10-bit data. The power adapter receives the 10-bit data from the mobile terminal 600 via ten continuous clock periods of the clock signal. Level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.

Optionally, in an embodiment, during a process that the power adapter receives an instruction from the mobile terminal 600, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V. Or, during the process that the power adapter receives an instruction from the mobile terminal 600, a maximum value of low level of the clock signal is 0.8V. Or, during a process that the power adapter transmits an instruction to the mobile terminal 600, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V. Or, during the process that the power adapter transmits an instruction to the mobile terminal 600, a maximum value of the high level of the clock signal is 4.5V. Or, during the process that the power adapter transmits an instruction to the mobile terminal 600, the maximum value of the low level of the clock signal is 0.15VDD. The VDD is a work voltage of the power adapter, and/or the VDD is greater than 3.2V and less than 4.5V.

Optionally, in an embodiment, after the mobile terminal 600 receives the clock interrupt signal, holding time of a data of an instruction transmitted from the power adapter to the mobile terminal 600 is 500±5 μs.

FIG. 7 is a diagrammatic view of a power adapter in accordance with one or more embodiments of the present disclosure. A power adapter 700 of FIG. 7 is coupled to a mobile terminal via a USB interface. A power line of the USB interface is used for the power adapter 700 to charge a battery of the mobile terminal, and data lines of the USB interface are used for communication between the power adapter 700 and the mobile terminal. The power adapter 700 supports a normal charging mode and a quick charging mode, and a charging speed of the quick charging mode is greater than that of the normal charging mode. The power adapter 700 includes a communication control circuit 710 and a charging circuit 720.

The communication control circuit 710 is configured to activate a quick charging communication process when the power adapter 700 receives indication information for indicating that the mobile terminal has recognized a type of the power adapter 700 from the mobile terminal, and transmit a first instruction to the mobile terminal, and the first instruction is configured to query whether the mobile terminal agrees to charge the battery in the quick charging mode. The communication control circuit 710 is configured to receive a reply instruction of the first instruction from the mobile terminal, and the reply instruction of the first instruction is configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode. The communication control circuit 710 is configured to conduct a handshake communication with the mobile terminal via a second instruction to determine a charging voltage of the quick charging mode, conduct a handshake communication with the mobile terminal via a third instruction to determine a charging current of the quick charging mode, adjust an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode to enter a constant current phase, and conduct a handshake communication with the mobile terminal via a fourth instruction during the constant current phase to adjust the output current of the power adapter 700, so as to charge the mobile terminal in a multi-stage constant current mode via the charging circuit 720.

In embodiments of the present disclosure, the power adapter 700 does not increase the charging current blindly for quick charging, but negotiates with the mobile terminal via communication with the mobile terminal to determine whether the quick charging mode can be adopted. Comparing with the present technology, the security of the quick charging process is improved.

Optionally, in an embodiment, the communication control circuit 710 is further configured to detect a charging current provided to the mobile terminal by the power adapter 700, determine that the mobile terminal has recognized the type of the power adapter 700 when the power adapter 700 does not receive the indication information and determines that within a preset time period the charging current provided to the mobile terminal by the power adapter 700 is greater than or equals to a preset current threshold, activate the quick charging communication process, and transmit the first instruction to the mobile terminal.

Optionally, in an embodiment, the reply instruction of the first instruction includes multiple bits, and the multiple bits include a bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a bit configured to indicate a path impedance of the mobile terminal. The path impedance of the mobile terminal is used for the power adapter 700 to determine whether the USB interface is in good contact.

Optionally, in an embodiment, a format of the reply instruction of the first instruction is 101XYYYYYY, X indicates 1 bit, and Y indicates 1 bit. X=1 indicates that the mobile terminal agrees to activate the quick charging mode, X=0 indicates that the mobile terminal disagrees to activate the quick charging mode, and the path impedance of the mobile terminal equals to YYYYYY*5 mΩ.

Optionally, in an embodiment, the first instruction is 10101000 or 0xA8.

Optionally, in an embodiment, the communication control circuit 710 is configured to transmit the second instruction to the mobile terminal, and the second instruction is configured to query whether a current output voltage of the power adapter 700 is proper to be the charging voltage of the quick charging mode. The communication control circuit 710 is configured to receive the reply instruction of the second instruction from the mobile terminal, and the reply instruction of the second instruction is configured to indicate that the current output voltage of the power adapter 700 is proper, high, or low. The communication control circuit 710 is configured to determine the current output voltage of the power adapter 700 to be the charging voltage of the quick charging mode when the reply instruction of the second instruction indicates that the current output voltage of the power adapter 700 is proper, adjust the current output voltage of the power adapter 700 according to the rely instruction of the second instruction when the reply instruction of the second instruction indicates that the current output voltage of the power adapter 700 is high or low, and repeat the handshake communication based on the second instruction to constantly adjust the current output voltage of the power adapter 700 until the rely instruction of the second instruction indicates that the current output voltage of the power adapter 700 is proper.

Optionally, in an embodiment, the reply instruction of the second instruction includes multiple bits, and the multiple bits of the reply instruction of the second instruction include a bit configured to indicate the current output voltage of the power adapter 700 is proper, high, or low.

Optionally, in an embodiment, a format of the reply instruction corresponding to the second instruction is 1010XX0000, X indicates 1 bit, XX=11 indicates that the current output voltage of the power adapter 700 is proper, XX=10 indicates that the current output voltage of the power adapter 700 is high, and XX=01 indicates that the current output voltage of the power adapter 700 is low.

Optionally, in an embodiment, the second instruction is 10100100 or 0xA4.

Optionally, in an embodiment, the communication control circuit 710 is configured to transmit the third instruction to the mobile terminal, and the third instruction is configured to query a maximum charging current which is currently supported by the mobile terminal. The communication control circuit 710 is configured to receive the reply instruction of the third instruction from the mobile terminal, and the reply instruction of the third instruction is configured to indicate the maximum charging current which is currently supported by the mobile terminal. The communication control circuit 710 is configured to determine the charging current of the quick charging mode according to the reply instruction of the third instruction.

Optionally, in an embodiment, the reply instruction of the third instruction includes multiple bits, and the multiple bits of the reply instruction of the third instruction include a bit configured to indicate the maximum charging current which is currently supported by the mobile terminal.

Optionally, in an embodiment, a format of the reply instruction of the third instruction is 1010 XXXXX, X indicates 1 bit, and the maximum charging current which is currently supported by the mobile terminal equals to 3000+(*250) mA.

Optionally, in an embodiment, the third instruction is 10100110 or 0xA6.

Optionally, in an embodiment, the communication control circuit 710 is configured to transmit the fourth instruction to the mobile terminal during the constant current phase, and the fourth instruction is configured to query a current voltage of the battery of the mobile terminal. The communication control circuit 710 is configured to receive the reply instruction of the fourth instruction from the mobile terminal, and the reply instruction of the fourth instruction is configured to indicate the current voltage of the battery of the mobile terminal. The communication control circuit 710 is configured to adjust the output current of the power adapter 700 according to the current voltage of the battery.

Optionally, in an embodiment, the reply instruction of the fourth instruction includes multiple bits, and the multiple bits of the reply instruction of the fourth instruction include a bit configured to indicate the current voltage of the battery, and a bit configured to indicate whether the battery is being charged.

Optionally, in an embodiment, a format of the reply instruction of the fourth instruction is 101XYYYYYY, X indicates 1 bit, Y indicates 1 bit, X=1 indicates that the battery is being charged, X=0 indicates that the battery is not charged, and the current voltage of the battery equals to 3404+(YYYYYY*16) mV.

Optionally, in an embodiment, the fourth instruction is 10100010 or 0xA2.

Optionally, in an embodiment, the communication control circuit 710 is further configured to receive impedance information for indicating a path impedance of the mobile terminal from the mobile terminal, determine an impedance of a charging circuit from the power adapter 700 to the battery according to the current output voltage of the power adapter 700 and the current voltage of the battery during the constant current phase, determine whether the USB interface is in bad contact according to the impedance of the charging circuit, the path impedance of the mobile terminal, and a path impedance of a charging circuit between the power adapter 700 and the mobile terminal, and exit the quick charging mode or re-determine whether to activate the quick charging mode when the USB interface is in bad contact.

Optionally, in an embodiment, the communication control circuit 710 is configured to transmit a fifth instruction to the mobile terminal when the USB interface is in bad contact. The fifth instruction is configured to indicate that the USB interface is in bad contact and the power adapter 700 is ready to exit the quick charging mode or re-determine whether to activate the quick charging mode.

Optionally, in an embodiment, the fifth instruction is 10110010 or 0xB2.

Optionally, in an embodiment, the communication control circuit 710 is further configured to execute at least one of following operations when the power adapter 700 determines that the reply instruction received from the mobile terminal has an encoding error, and the following operations includes: exiting the quick charging mode, stopping charging, or reactivating the quick charging communication process.

Optionally, in an embodiment, an instruction transmitted from the power adapter 700 to the mobile terminal includes multiple bits. When the power adapter transmits any instruction, the power adapter 700 firstly transmits the MSB of multiple bits of the any instruction. Or an instruction received from the mobile terminal by the power adapter 700 includes multiple bits. When the power adapter 700 receives an instruction, the power adapter 700 firstly receives the MSB of multiple bits of the instruction.

Optionally, in an embodiment, clock signals or clock interrupt signals used in the communication between the power adapter 700 and the mobile terminal are provided by the power adapter 700.

Optionally, in an embodiment, an instruction transmitted from the power adapter 700 to the mobile terminal includes multiple bits. During a process of transmitting each of the multiple bits, the power adapter 700 firstly transmits each bit, and then transmits the clock interrupt signal. Or a reply instruction received from the mobile terminal by the power adapter 700 includes multiple bits. During a process of receiving each of the multiple bits, the power adapter 700 firstly transmits the clock interrupt signal, and then receives each bit after a preset time interval.

Optionally, in an embodiment, each instruction transmitted from the power adapter 700 to the mobile terminal includes an 8-bit data. The power adapter 700 transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level. Or each reply instruction received from the mobile terminal by the power adapter 700 includes a 10-bit data, the power adapter 700 receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.

Optionally, in an embodiment, during a process that the power adapter 700 receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter 700 minus 0.7V. Or during the process that the power adapter 700 receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V. Or during a process that the power adapter 700 transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V. Or during the process that the power adapter 700 transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V. Or during the process that the power adapter 700 transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD. The VDD is a work voltage of the power adapter 700, and/or the VDD is greater than 3.2V and less than 4.5V.

Optionally, in an embodiment, after the mobile terminal receives the clock interrupt signal, holding time of a data of an instruction transmitted from the power adapter 700 to the mobile terminal is 500±5 μs.

Those skilled in the art should appreciate that units and programming steps of various examples described in the embodiments of the present disclosure can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are realized by hardware or software depends on particular applications and design constraint conditions. For each particular application, professionals can employ different methods to realize described functions, but this realization should fall into the scope of the present disclosure.

For convenience and simplicity, those skilled in the art can clearly understand that when the specific work processes of the above described systems, devices, and units are described, the corresponding processes of the above method embodiments can be referred, which will not be repeated herein.

In several embodiments provided by the present disclosure, it can be understood that the disclosed systems, devices, and methods can be implemented by other manners. For example, the device embodiments described above are only schematic. For example, the units are divided according to logic functions and can be divided by another manner in an actual implementation. For example, several units or assemblies can be combined or can be integrated into another system, or some features can be ignored, or are not executed. Another point is that mutual coupling or direct coupling or communication connection shown or discussed herein can be indirect coupling or communication connection through certain interfaces, devices, or units, and can be in the form of electricity, machine, or other.

The units illustrated as separate units can be or cannot be physically separated, and components shown in units can be or cannot be physical units, that is, can be in a place, or can be distributed in several network units. A part of or all of the units can be selected according to actual need to realize the purpose of the solution of the embodiments.

Additionally, various functional units in the embodiments of the present disclosure can be integrated into one processing unit, or various functional units can exist alone, or two or more units can be integrated into one unit.

If the functions can be realized in the form of software functional units and can be sold or used as stand-alone products, they can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present disclosure or the part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product. The computer software product can be stored in a storage medium, and include a plurality of instructions configured to direct a computer device (personal computer, server, or network device) to execute all of or a part of steps of various embodiments of the present disclosure. The storage mediums described above include a U disk, a mobile disk, a read-only memory (ROM), a random access memory (RAM), a disc, a compact disc, or other medium storing program codes.

The foregoing descriptions are merely preferred embodiments of the present disclosure, rather than limiting the present disclosure. Any one skilled in the art can easily make change or alterations within the technology range of the present disclosure, and those change or alterations shall fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be limited by the protection scope of the claims. 

What is claimed is:
 1. A quick charging method applied in a power adapter, the power adapter being coupled to a mobile terminal via a USB interface, a power line of the USB interface being used for the power adapter to charge a battery of the mobile terminal, data lines of the USB interface being used for communication between the power adapter and the mobile terminal, the power adapter supporting a normal charging mode and a quick charging mode, a charging speed of the quick charging mode being greater than that of the normal charging mode, the method comprising: detecting, by the power adapter, a charging current provided to the mobile terminal by the power adapter; determining, by the power adapter, that the mobile terminal has recognized a type of the power adapter when the power adapter determines that within a preset time period the charging current provided to the mobile terminal by the power adapter is greater than or equals to a preset current threshold; activating, by the power adapter, a quick charging communication process when the power adapter receives indication information for indicating that the mobile terminal has recognized the type of the power adapter from the mobile terminal, and transmitting, by the power adapter, a first instruction to the mobile terminal, the first instruction being configured to query whether the mobile terminal agrees to charge the battery in the quick charging mode; receiving, by the power adapter, a reply instruction of the first instruction from the mobile terminal, the reply instruction of the first instruction being configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode; conducting, by the power adapter, a handshake communication with the mobile terminal via a second instruction to determine a charging voltage of the quick charging mode; conducting, by the power adapter, a handshake communication with the mobile terminal via a third instruction to determine a charging current of the quick charging mode; adjusting, by the power adapter, an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode to enter a plurality of constant current phases with different current magnitudes; and conducting, by the power adapter, a handshake communication with the mobile terminal via a fourth instruction to enable the constant current outputs of the power adapter to be changed to a different constant current phase.
 2. The method of claim 1, wherein the reply instruction of the first instruction comprises multiple bits, and the multiple bits comprise a first bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a second bit configured to indicate a path impedance of the mobile terminal, the path impedance of the mobile terminal is used for the power adapter to determine whether the USB interface is in good contact.
 3. The method of claim 1, wherein conducting, by the power adapter, the handshake communication with the mobile terminal via the second instruction to determine the charging voltage of the quick charging mode comprises: transmitting, by the power adapter, the second instruction to the mobile terminal, the second instruction being configured to query whether the current output voltage of the power adapter is proper to be the charging voltage of the quick charging mode; receiving, by the power adapter, a reply instruction of the second instruction from the mobile terminal, the reply instruction of the second instruction being configured to indicate whether the current output voltage of the power adapter is proper; determining, by the power adapter, the current output voltage of the power adapter to be the charging voltage of the quick charging mode when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is proper; and adjusting, by the power adapter, the current output voltage of the power adapter according to the reply instruction of the second instruction when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is high or low, repeating, by the power adapter, the handshake communication based on the second instruction to constantly adjust the current output voltage of the power adapter until the rely instruction of the second instruction indicates that the current output voltage of the power adapter is proper.
 4. The method of claim 1, wherein conducting, by the power adapter, the handshake communication with the mobile terminal via the third instruction to determine the charging current of the quick charging mode comprises: transmitting, by the mobile terminal, the third instruction to the mobile terminal, the third instruction being configured to query a maximum charging current which is currently supported by the mobile terminal; receiving, by the power adapter, a reply instruction of the third instruction from the mobile terminal, the reply instruction of the third instruction being configured to indicate the maximum charging current which is currently supported by the mobile terminal; and determining, by the power adapter, the charging current of the quick charging mode according to the reply instruction of the third instruction.
 5. The method of claim 1, wherein conducting, by the power adapter, the handshake communication with the mobile terminal via the fourth instruction during the constant current phase to adjust the current output current of the power adapter comprises: transmitting, by the power adapter, the fourth instruction to the mobile terminal during the constant current phase, the fourth instruction being configured to query a current voltage of the battery of the mobile terminal; and receiving, by the power adapter, a reply instruction of the fourth instruction from the mobile terminal, the reply instruction of the fourth instruction being configured to indicate the current voltage of the battery of the mobile terminal; and adjusting, by the power adapter, the current output current of the power adapter according to the current voltage of the battery.
 6. The method of claim 1, wherein an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, during a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits the clock interrupt signal; or a reply instruction received from the mobile terminal by the power adapter comprises multiple bits, during a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and then receives each bit after a preset time interval.
 7. The method of claim 1, wherein each instruction transmitted from the power adapter to the mobile terminal comprises an 8-bit data, the power adapter transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level; or each reply instruction received from the mobile terminal by the power adapter comprises a 10-bit data, the power adapter receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.
 8. The method of claim 1, wherein during a process that the power adapter receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V; during the process that the power adapter receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V; during a process that the power adapter transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V; during the process that the power adapter transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V; during the process that the power adapter transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD; the VDD is a work voltage of the power adapter; or the VDD is greater than 3.2V and less than 4.5V.
 9. A mobile terminal, the mobile terminal being coupled to a power adapter via a USB interface, a power line of the USB interface being used for charging a battery of the mobile terminal, data lines of the USB interface being used for communication between the mobile terminal and the power adapter, the mobile terminal supporting a normal charging mode and a quick charging mode, a charging speed of the quick charging mode being greater than that of the normal charging mode, the mobile terminal comprising: a charging circuit; and a communication control circuit configured to determine a type of the power adapter when the power adapter becomes coupled to the mobile terminal, transmit indication information to the power adapter when the power adapter determines that within a preset time period a charging current provided to the mobile terminal by the power adapter is greater than or equals to a preset current threshold, wherein the indication information is configured to indicate that the mobile terminal has recognized the type of the power adapter and instruct the power adapter to activate a quick charging communication process, the communication control circuit is further configured to receive a first instruction from the power adapter after the power adapter activates the quick charging communication process, and the first instruction is configured to query whether the mobile terminal agrees to charge a battery of the mobile terminal in the quick charging mode; the communication control circuit is further configured to transmit a reply instruction of the first instruction to the power adapter, and the reply instruction of the first instruction is configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode; the communication control circuit is further configured to conduct a handshake communication with the power adapter via a second instruction transmitted by the power adapter to determine a charging voltage of the quick charging mode, conduct a handshake communication with the power adapter via a third instruction transmitted by the power adapter to determine a charging current of the quick charging mode, and conduct a handshake communication with the power adapter via a fourth instruction transmitted by the power adapter after the power adapter adjusts an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode and enters a plurality of constant current phases with different current magnitudes, so as to enable constant current outputs of the power adapter to be changed to a different constant current phase, to charge the battery via the charging circuit.
 10. The mobile terminal of claim 9, wherein the reply instruction of the first instruction comprises multiple bits, and the multiple bits comprise a first bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a second bit configured to indicate a path impedance of the mobile terminal, the path impedance of the mobile terminal is used for the power adapter to determine whether the USB interface is in good contact.
 11. The mobile terminal of claim 9, wherein the communication control circuit is configured to receive the second instruction from the power adapter, the second instruction is configured to query whether the current output voltage of the power adapter is proper to be the charging voltage of the quick charging mode; the communication control circuit is further configured to transmit a reply instruction of the second instruction to the power adapter, the reply instruction of the second instruction is configured to indicate whether the current output voltage of the power adapter is proper, so as to cause the power adapter to determine the charging voltage of the quick charging mode according to the reply instruction of the second instruction.
 12. The mobile terminal of claim 9, wherein the communication control circuit is configured to receive the third instruction from the power adapter, the third instruction is configured to query a maximum charging current which is currently supported by the mobile terminal; the communication control circuit is further configured to transmit a reply instruction of the third instruction for indicating the maximum charging current which is currently supported by the mobile terminal to the power adapter, so as to cause the power adapter to determine the charging current of the quick charging mode according to the reply instruction of the third instruction.
 13. The mobile terminal of claim 9, wherein the communication control circuit is configured to receive the fourth instruction from the power adapter during the constant current phase, the fourth instruction is configured to query a current voltage of the battery of the mobile terminal; the communication control circuit is further configured to transmit a reply instruction of the fourth instruction for indicating the current voltage of the battery of the mobile terminal to the power adapter, so as to cause the power adapter to adjust the current output current of the power adapter according to the current voltage of the battery.
 14. The mobile terminal of claim 9, wherein an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, during a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits a clock interrupt signal; or a reply instruction received from the mobile terminal by the power adapter comprises multiple bits, during a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and receives each bit after a preset time interval.
 15. The mobile terminal of claim 9, wherein each instruction transmitted from the power adapter to the mobile terminal comprises an 8-bit data, the power adapter transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level; or each reply instruction received from the mobile terminal by the power adapter comprises a 10-bit data, the power adapter receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.
 16. The mobile terminal of claim 9, wherein during a process that the power adapter receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V; during the process that the power adapter receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V; during a process that the power adapter transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V; during the process that the power adapter transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V; during the process that the power adapter transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD; the VDD is a work voltage of the power adapter; or the VDD is greater than 3.2V and less than 4.5V.
 17. A power adapter, the power adapter being coupled to a mobile terminal via a USB interface, a power line of the USB interface being used for the power adapter to charge a battery of the mobile terminal, data lines of the USB interface being used for communication between the power adapter and the mobile terminal, the power adapter supporting a normal charging mode and a quick charging mode, a charging speed of the quick charging mode being greater than that of the normal charging mode, the power adapter comprising: a charging circuit; and a communication control circuit configured to detect a charging current provided to the mobile terminal by the power adapter, determine that the mobile terminal has recognized a type of the power adapter when the power adapter determines that within a preset time period the charging current provided to the mobile terminal by the power adapter is greater than or equals to a preset current threshold, activate a quick charging communication process when the power adapter receives indication information for indicating that the mobile terminal has recognized the type of the power adapter from the mobile terminal, and transmit a first instruction to the mobile terminal, wherein the first instruction is configured to query whether the mobile terminal agrees to charge the battery in the quick charging mode; the communication control circuit is further configured to receive a reply instruction of the first instruction from the mobile terminal, and the reply instruction of the first instruction is configured to indicate that the mobile terminal agrees to charge the battery in the quick charging mode; the communication control circuit is configured to conduct a handshake communication with the mobile terminal via a second instruction to determine a charging voltage of the quick charging mode, conduct a handshake communication with the mobile terminal via a third instruction to determine a charging current of the quick charging mode, adjust an output voltage and an output current of the power adapter to be the charging voltage and the charging current of the quick charging mode to enter a plurality of constant current phases with different current magnitudes, and conduct a handshake communication with the mobile terminal via a fourth instruction during the constant current phase to enable the constant current outputs of the power adapter to be changed to a different constant current phase, so as to charge the mobile terminal via the charging circuit.
 18. The power adapter of claim 17, wherein the reply instruction of the first instruction comprises multiple bits, and the multiple bits comprise a first bit configured to indicate whether the mobile terminal agrees to activate the quick charging mode, and a second bit configured to indicate a path impedance of the mobile terminal, the path impedance of the mobile terminal is used for the power adapter to determine whether the USB interface is in good contact.
 19. The power adapter of claim 17, wherein the communication control circuit is configured to transmit the second instruction to the mobile terminal, the second instruction is configured to query whether the current output voltage of the power adapter is proper to be the charging voltage of the quick charging mode; the communication control circuit is further configured to receive a reply instruction of the second instruction from the mobile terminal, the reply instruction of the second instruction is configured to indicate whether the current output voltage of the power adapter is proper; the communication control circuit is further configured to determine the current output voltage of the power adapter to be the charging voltage of the quick charging mode when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is proper, adjust the current output voltage of the power adapter according to the reply instruction of the second instruction when the reply instruction of the second instruction indicates that the current output voltage of the power adapter is high or low, and repeat the handshake communication based on the second instruction to constantly adjust the current output voltage of the power adapter until the rely instruction of the second instruction indicates that the current output voltage of the power adapter is proper.
 20. The power adapter of claim 17, wherein the communication control circuit is configured to transmit the third instruction to the mobile terminal, and the third instruction is configured to query a maximum charging current which is currently supported by the mobile terminal; the communication control circuit is further configured to receive a reply instruction of the third instruction from the mobile terminal, and the reply instruction of the third instruction is configured to indicate the maximum charging current which is currently supported by the mobile terminal; the communication control circuit is further configured to determine the charging current of the quick charging mode according to the reply instruction of the third instruction.
 21. The power adapter of claim 17, wherein the communication control circuit is configured to transmit the fourth instruction to the mobile terminal during the constant current phase, and the fourth instruction is configured to query a current voltage of the battery of the mobile terminal; the communication control circuit is further configured to receive a reply instruction of the fourth instruction from the mobile terminal, and the reply instruction of the fourth instruction is configured to indicate the current voltage of the battery of the mobile terminal, the communication control circuit is further configured to adjust the output current of the power adapter according to the current voltage of the battery.
 22. The power adapter of claim 17, wherein an instruction transmitted from the power adapter to the mobile terminal comprises multiple bits, during a process of transmitting each of the multiple bits, the power adapter firstly transmits each bit, and then transmits the clock interrupt signal; or a reply instruction received from the mobile terminal by the power adapter comprises multiple bits, during a process of receiving each of the multiple bits, the power adapter firstly transmits the clock interrupt signal, and then receives each bit after a preset time interval.
 23. The power adapter of claim 17, wherein each instruction transmitted from the power adapter to the mobile terminal comprises an 8-bit data, the power adapter transmits the 8-bit data to the mobile terminal via eight continuous clock periods of the clock signal, level of previous 10 μs of each of the eight continuous clock periods is low level, and level of latter 500 μs of each of the eight continuous clock periods is high level; or each reply instruction received from the mobile terminal by the power adapter comprises a 10-bit data, the power adapter receives the 10-bit data from the mobile terminal via ten continuous clock periods of the clock signal, level of previous 500 μs of each of the ten continuous clock periods is high level, and level of latter 10 μs of each of the ten continuous clock periods is low level.
 24. The power adapter of claim 17, wherein during a process that the power adapter receives an instruction from the mobile terminal, a minimum value of high level of the clock signal equals to VDD of the power adapter minus 0.7V; during the process that the power adapter receives an instruction from the mobile terminal, a maximum value of low level of the clock signal is 0.8V; during a process that the power adapter transmits an instruction to the mobile terminal, the minimum value of the high level of the clock signal equals to 0.25VDD+0.8V; during the process that the power adapter transmits an instruction to the mobile terminal, a maximum value of the high level of the clock signal is 4.5V; during the process that the power adapter transmits an instruction to the mobile terminal, the maximum value of the low level of the clock signal is 0.15VDD; the VDD is a work voltage of the power adapter; or the VDD is greater than 3.2V and less than 4.5V. 